package com.tengfei.main.course.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tengfei.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 资源对象 cs_res
 *
 * @author tengfei
 * @date 2022-07-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cs_res")
public class Res extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 资源id
     */
    @TableId(value = "res_id")
    private Long resId;
    /**
     * 资源名称
     */
    private String resName;
    /**
     * 资源类型
     */
    private Integer resType;
    /**
     * 资源地址
     */
    private String resUrl;
    /**
     * 资源大小
     */
    private Long resSize;
    /**
     * 是否删除
     */
    @TableLogic
    private Integer showStatus;

}
